package com.sctvcloud.renhe.beans;

import java.io.Serializable;

/**
 * Created by yuxipan on 2017-09-11.
 */

public class LiveAdvanceInfo implements Serializable {
    public LiveAdvanceInfo() {

    }

    public LiveAdvanceInfo(String address, String name) {
        this.address = address;
        this.name = name;
    }

    private String address = "";
    private String name = "";
    private int rate = -1;
    private int width = -1;
    private int height = -1;
    private int port = -1;
    private String host = "";
    private String appName = "";
    private String streamName = "";
    private String userInfo = "";

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getRate() {
        return rate;
    }

    public void setRate(int rate) {
        this.rate = rate;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getStreamName() {
        return streamName;
    }

    public void setStreamName(String streamName) {
        this.streamName = streamName;
    }

    public String getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(String userInfo) {
        this.userInfo = userInfo;
    }

    @Override
    public String toString() {
        return "LiveAdvanceInfo{" +
                "address='" + address + '\'' +
                ", name='" + name + '\'' +
                ", rate=" + rate +
                ", width=" + width +
                ", height=" + height +
                ", port=" + port +
                ", host='" + host + '\'' +
                ", appName='" + appName + '\'' +
                ", streamName='" + streamName + '\'' +
                ", userInfo='" + userInfo + '\'' +
                '}';
    }
}
